Input Expanders
Table Name: GXT_INPUTEXPANDERS_TBL
List
Request a list of input expanders.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_INPUTEXPANDERS_TBL
-
Response:
Copy1=Input Expander 1&2=Input Expander 2
Detail
Request the details of a specific input expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_INPUTEXPANDERS_TBL&RecId=<RecId>
-
Response:
CopyInputExpanderId=1&Name=Input Expander 1&PollTime=250&HighChargeCurrent=false&VirtualModule=false&InvertDeviceTamper=false&PhysicalAddress=0&Commands=
Update
Update a specific input expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_INPUTEXPANDERS_TBL&InputExpanderId=1&Name=ZX1
-
Response:
CopyOK
Create
Create an input expander. To create an input expander, use the same parameters as update but leave the InputExpanderId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_INPUTEXPANDERS_TBL&InputExpanderId=&Name=Input Expander 1&PollTime=250&HighChargeCurrent=false&VirtualModule=false&InvertDeviceTamper=false&PhysicalAddress=0&Commands=
-
Response:
CopyOK
When using the API to directly add records, please ensure the number of records added does not exceed the license limit for this record type, as this will result in undefined behavior. The license limit can be determined using the LicenseLimit request (see System).
Delete
Delete a specific input expander.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_INPUTEXPANDERS_TBL&RecId=<RecId>
-
Response:
CopyOK
Parameters
Parameter |
Display Name |
Default Value |
Notes |
---|---|---|---|
InputExpanderId |
Database ID |
1 |
The Detail, Control and Delete APIs use this value as the RecId. |
Name |
Name |
Input Expander 1 |
|
PollTime |
|
250 |
This is a legacy option that has no effect. |
HighChargeCurrent |
High Charge Current |
false |
This is a legacy option that has no effect. |
VirtualModule |
Virtual Module |
false |
|
InvertDeviceTamper |
Invert Device Tamper |
false |
|
PhysicalAddress |
Physical Address |
0 |
|
Commands |
Commands |
|
|